OTP\Handler\CustomForm S

Total Complexity 45
Dependencies 7
Dependents 1
Total lines 237
Lines of code 178
Logical lines of code 94
Comment lines 0
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
checkIntegrity()
S
58 5 16
_checkValidatedOnSubmit()
S
59 5 15
checkIntegrityAndValidateOTP()
S
55 4 20
__construct()
S
54 3 20
handleForm()
S
56 3 17
_send_otp()
S
65 4 9
getPhoneNumberSelector()
S
72 3 5
_processEmailAndSendOTP()
S
62 2 11
mo_enqueue_form_script()
S
53 1 22
_processPhoneAndSendOTP()
S
63 2 10
checkIfOTPSent()
S
69 2 7
handle_failed_verification()
S
72 2 5
handle_post_verification()
S
72 2 5
isPhoneEnabled()
S
79 2 3
processFormAndValidateOTP()
S
75 1 5
unsetOTPSessionVariables()
S
76 1 4
handleFormOptions()
S
100 1 2
getSubmitKeyDetails()
S
90 1 1
getFieldKeyDetails()
S
90 1 1